﻿// MIT License

// Copyright (c) 2021-2023 1024


using Kyx.Web.Core;
using Microsoft.AspNetCore.Mvc.Filters;

namespace Kyx.Web.Mvc.Areas.HtAdmin.Controllers;

[AdminAuthorize]
[AdminPermissionFilter]//登录授权
[Area("HtAdmin")]
public class HtAdminBaseController : Controller
{
    /// <summary>
    ///  OnActionExecuted方法在Controller的Action执行后执行
    /// </summary>
    public override void OnActionExecuted(ActionExecutedContext context)
    {
        base.OnActionExecuted(context);
    }

    /// <summary>
    /// OnActionExecuting方法在Controller的Action执行前执行
    /// </summary>
    public override void OnActionExecuting(ActionExecutingContext context)
    {
        base.OnActionExecuting(context);
    }
}